package com.msh.artascope.web.common.model;

import com.msh.artascope.interfaces.IModifyPassword;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ModifyPassword implements IModifyPassword,Serializable {
  @NotNull( message = "账号不能为空")
  @Schema(name = "账号")
  private String account;
  @NotNull(message = "旧密码不能为空")
  @Schema(name = "旧密码")
  private String oldPassword;
  @NotNull(message = "新密码不能为空")
  @Schema(name = "新密码")
  private String newPassword;
}
